package com.yingxin.yxerp.module.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yingxin.yxerp.module.sys.entity.BusinessTypeSetting;
import com.yingxin.yxerp.module.sys.vo.req.BusinessTypeSettingQueryVo;
import com.yingxin.yxerp.module.sys.vo.resp.BusinessTypeSettingRespVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 每日编号 Mapper 接口
 * @author fanchao
 * @since 2022-01-16
 */

public interface BusinessTypeSettingMapper extends BaseMapper<BusinessTypeSetting> {

    /**
     * 分页查询
     * @param page
     * @param queryObj
     * @return
     */
    IPage<BusinessTypeSettingRespVo> pageVo(Page page, @Param("queryObj") BusinessTypeSettingQueryVo queryObj);

    /**
     * 查询全部
     * @param queryObj
     * @return
     */
    List<BusinessTypeSettingRespVo> listVo(@Param("queryObj") BusinessTypeSettingQueryVo queryObj);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    BusinessTypeSettingRespVo getVo(@Param("id") String id);

}
